/*
 * Copyright (C) 2016 yixun All Rights Reserved.
 * 
 * HaveReceiveRefund.java
 */
package com.emm.yixun.common.model;
import java.io.Serializable;
import java.math.BigDecimal;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Date;

/**
 * [文件名称]<br>
 * HaveReceiveRefund.java<br>
 * <br>
 * [文件描述]<br>
 * 已收/退款表 pojo bean<br>
 * <br>
 * [修改记录]<br>
 * 2016-07-04 14:18:20 创建<br>
 * @version 1.00
 */
public class HaveReceiveRefundInfo extends HaveReceiveRefund{
    
	/**
	 * 客户姓名
	 */
	private String customer_name;
	
	/**
	 * 房间组合名称
	 */
	private String combined_name;
	
	/**
	 * 结算人员
	 */
	private String statement_name;
	
	/**
	 * 签约单价
	 */
	private BigDecimal price;
	
	/**
	 * 签约面积
	 */
	private String calculatArea;
	
	/**
	 * 签约总价
	 */
	private BigDecimal totalPrice;
	
	/**
	 * 房款类型
	 */
	private String relationType;
	
	/**
	 * 房款类型
	 */
	private String businessType;
	
	/**
	 * 结算日期+结算人员+结算方式
	 */
	private String statement;
	
	/**
	 * 业务编号
	 */
	private String relationCode;
	
	/**
	 * 业务编号
	 */
	private Date relationDate;
	
	/**
	 * 业务编号
	 */
	private String relation;
	
	/**
	 * 结算名称
	 */
	private String paymentMethod_name;
	
	/**
	 * 审核人姓名
	 */
	private String checked_name;
	
	/**
	 * 置业顾问
	 */
	private String agent_name;
	
	/**
	 * 签约ID
	 */
	private Long signId;
	
	/**
	 * 开始日期
	 */
	private String ysDateStart;
	
	/**
	 * 结束日期
	 */
	private String ysDateEnd;

	public String getCustomer_name() {
		return customer_name;
	}

	public void setCustomer_name(String customer_name) {
		this.customer_name = customer_name;
	}

	public String getCombined_name() {
		return combined_name;
	}

	public void setCombined_name(String combined_name) {
		this.combined_name = combined_name;
	}

	public String getStatement_name() {
		return statement_name;
	}

	public void setStatement_name(String statement_name) {
		this.statement_name = statement_name;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getCalculatArea() {
		return calculatArea;
	}

	public void setCalculatArea(String calculatArea) {
		this.calculatArea = calculatArea;
	}

	public BigDecimal getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getRelationType() {
		return relationType;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public String getBusinessType() {
		return businessType;
	}

	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}

	public String getStatement() {
		return statement;
	}

	public void setStatement(String statement) {
		this.statement = statement;
	}

	public String getRelationCode() {
		return relationCode;
	}

	public void setRelationCode(String relationCode) {
		this.relationCode = relationCode;
	}

	public String getPaymentMethod_name() {
		return paymentMethod_name;
	}

	public void setPaymentMethod_name(String paymentMethod_name) {
		this.paymentMethod_name = paymentMethod_name;
	}

	public String getChecked_name() {
		return checked_name;
	}

	public void setChecked_name(String checked_name) {
		this.checked_name = checked_name;
	}

	public String getRelation() {
		return relation;
	}

	public void setRelation(String relation) {
		this.relation = relation;
	}

	public Date getRelationDate() {
		return relationDate;
	}

	public void setRelationDate(Date relationDate) {
		this.relationDate = relationDate;
	}

	public String getAgent_name() {
		return agent_name;
	}

	public void setAgent_name(String agent_name) {
		this.agent_name = agent_name;
	}
	
	/**
	 * 返回码值,默认值Const.FAI
	 */
	private int res = 0;
	/**
	 * 返回码值解析
	 */
	private String resMsg;
	
	/**
	 * 设置没有权限返回值
	 * @param auth 原值返回
	 * @return
	 */
	public boolean setNoAuth(boolean auth){
		if(!auth){
			this.setRes(100);
			this.setResMsg("当前角色没有权限");
		}
		return auth;
	}

	public int getRes() {
		return res;
	}

	public void setRes(int res) {
		this.res = res;
	}

	public String getResMsg() {
		return resMsg;
	}

	public void setResMsg(String resMsg) {
		this.resMsg = resMsg;
	}

	public Long getSignId() {
		return signId;
	}

	public void setSignId(Long signId) {
		this.signId = signId;
	}

	public String getYsDateStart() {
		return ysDateStart;
	}

	public void setYsDateStart(String ysDateStart) {
		this.ysDateStart = ysDateStart;
	}

	public String getYsDateEnd() {
		return ysDateEnd;
	}

	public void setYsDateEnd(String ysDateEnd) {
		this.ysDateEnd = ysDateEnd;
	}
	
}
